.class Lcom/instagram/android/activity/i;
.super Landroid/content/BroadcastReceiver;
.source "BaseFragmentActivity.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/activity/h;


# direct methods
.method constructor <init>(Lcom/instagram/android/activity/h;)V
    .locals 0
    .parameter

    .prologue
    .line 32
    iput-object p1, p0, Lcom/instagram/android/activity/i;->a:Lcom/instagram/android/activity/h;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3
    .parameter "context"
    .parameter "intent"

    .prologue
    .line 35
    const-string v0, "ActionBarService.action_bar_back_click"

    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 36
    iget-object v0, p0, Lcom/instagram/android/activity/i;->a:Lcom/instagram/android/activity/h;

    invoke-virtual {v0}, Lcom/instagram/android/activity/h;->onBackPressed()V

    .line 40
    :cond_0
    :goto_0
    return-void

    .line 37
    :cond_1
    const-string v0, "ActionBarService.action_bar_updated"

    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 38
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/activity/i;->a:Lcom/instagram/android/activity/h;

    sget v2, Lcom/facebook/aw;->action_bar:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/activity/h;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Landroid/view/View;)V

    goto :goto_0
.end method
